package com.ysm.kotlin.repository

import kotlinx.coroutines.delay

class UserRepository  {



    suspend fun getUserName(name :String) : String {
        delay(1000) //模拟网络请求
        return  "repository $name"
    }

}